package com.zjitc;

import java.lang.reflect.Method;
import sun.text.resources.et.FormatData_et;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/14 15:32
 * @description:
 */
public class refactor {

  public static void getclass()
      throws ClassNotFoundException, IllegalAccessException, InstantiationException {
      Class clazz = Class.forName("com.zjitc.AspectDemo");
    Method[] methods = clazz.getDeclaredMethods();
    for (int i = 0; i < methods.length; i++) {
      System.out.println(methods[i]);
    }

  }

  public static void main(String[] args)
      throws IllegalAccessException, InstantiationException, ClassNotFoundException {
    refactor.getclass();
  }

}
